package com.rfsp.common.pojo.po;


import java.io.Serializable;
import java.util.Date;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.rfsp.common.base.BasePO;

/** 地区代码表 */
@Entity
@Table(name="M_DD_AREACODE")
public class AreaPO extends BasePO implements Serializable{
	
	
	private static final long serialVersionUID = 1L;

	/** 地区代码 */
	@Id
    private String areacode;

    /** 地区名称 */
    private String areaname;

    /** 说明 */
    private String remark;

    /** 启用时间 */
    private Date recordstarttime;

    /** 停用标识(0-启用,1-停用) */
    private String recordstopflag;

    /** 停用时间 */
    private Date recordstoptime;

    /** 地区等级(1-省,2-市,3-县) */
    private String grade;

    /** 上级机构 */
    private String upprcode;

    public String getAreacode() {
        return areacode;
    }

    public void setAreacode(String areacode) {
        this.areacode = areacode;
    }

    public String getAreaname() {
        return areaname;
    }

    public void setAreaname(String areaname) {
        this.areaname = areaname;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Date getRecordstarttime() {
        return recordstarttime;
    }

    public void setRecordstarttime(Date recordstarttime) {
        this.recordstarttime = recordstarttime;
    }

    public String getRecordstopflag() {
        return recordstopflag;
    }

    public void setRecordstopflag(String recordstopflag) {
        this.recordstopflag = recordstopflag;
    }

    public Date getRecordstoptime() {
        return recordstoptime;
    }

    public void setRecordstoptime(Date recordstoptime) {
        this.recordstoptime = recordstoptime;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getUpprcode() {
        return upprcode;
    }

    public void setUpprcode(String upprcode) {
        this.upprcode = upprcode;
    }
}